vulkan: Set initial layout to undefined
authorTestingPlant <49836-TestingPlant@users.noreply.gitlab.gnome.org>
Sun, 8 May 2022 05:08:03 +0000 (05:08 +0000)
committerTestingPlant <49836-TestingPlant@users.noreply.gitlab.gnome.org>
Sun, 8 May 2022 05:39:36 +0000 (05:39 +0000)
commit1c587c7d7fb51cc9c41ec011c2492aa58d8df806
tree7038c1c2909137051261bb88050d382c5fda9f64
parent9e6855cdb813f8c13168fcaea00ef5e2f77d3472
vulkan: Set initial layout to undefined

Having the initial layout set to VK_IMAGE_LAYOUT_GENERAL causes issues
when going from the final layout to the initial layout since the image
layout is expected to be the general layout. Setting the initial layout
to undefined doesn't have this restriction.
gsk/vulkan/gskvulkanrenderpass.c